package com.sgb.goods.api;

import com.sgb.goods.entity.PayDetailEntity;
import com.sgb.goods.entity.PersonalPayDetailEntity;
import com.swgk.core.base.model.entity.BaseEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * 资金中心api
 * @author cyj
 */
public interface CapitalApi {

    /**
     * 企业下单-待付订单支付详情
     * @param orderId 订单ID
     * @return
     */
    @GET("app/orderPay/getPayOrderDetails")
    Call<BaseEntity<PayDetailEntity>> getPayOrderDetails(@Query("orderId") String orderId);

    /**
     * 个人下单-支付详情
     * @param orderId 订单ID
     * @return
     */
    @GET("payFlow/getPayFlowDetailsByOrderId")
    Call<BaseEntity<PersonalPayDetailEntity>> getPersonalPayOrderDetails(@Query("orderId") String orderId);
}
